All Questions
1 question
0votes
2answers
2kviews
What is the safest practice in handling QWidget pointer lifespan in a QObject oriented environment?
Consider the following constructor: NetworkTools::NetworkTools(QObject *parent) : QObject(parent) { view = new QWebEngineView(); view->setParent(parent); // Produces an error, shown below. ...